python: use libncursesw instead of libncurses
authorAlexandru Ardelean <[email protected]>
Sun, 19 Oct 2014 19:38:03 +0000 (22:38 +0300)
committerAlexandru Ardelean <[email protected]>
Sun, 19 Oct 2014 19:41:57 +0000 (22:41 +0300)
Python's build scripts prefer ncursesw, and if it is detected
it will be used.
The problem will occur when linking, since ncursesw libs may not be
installed if not added as deps, but the sources will be compiled
against ncursesw.

Reference from Python's HISTORY file:
  Patch #1428494: Prefer linking against ncursesw over ncurses library.

Signed-off-by: Alexandru Ardelean <[email protected]>
lang/python/Makefile

index 02f5a3b05fd67ed1f79fd250e3717663902c2abc..edecefe1d49d9d439f41cea3cdc91953d806f98f 100644 (file)
@@ -126,13 +126,13 @@ endef
 define Package/python-readline
 $(call Package/python/Default)
  TITLE:=Python support for readline
- DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libreadline +libncurses @BROKEN
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libreadline +libncursesw @BROKEN
 endef
 
 define Package/python-ncurses
 $(call Package/python/Default)
  TITLE:=Python support for readline
- DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libncurses
+ DEPENDS:=@PACKAGE_python +PACKAGE_python:python +libncursesw
 endef
 
 MAKE_FLAGS:=\